package com.heima.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.article.dtos.ArticleDto;
import com.heima.model.article.dtos.ArticleHomeDto;
import com.heima.model.article.pojos.ApArticle;
import com.heima.model.common.dtos.ResponseResult;

public interface ApArticleService extends IService<ApArticle> {
	
	
	public ResponseResult load(Short loadType, ArticleHomeDto dto);
	
	public ResponseResult load( ArticleHomeDto dto);
	
	public ResponseResult load2(ArticleHomeDto dto, boolean firstPage);
	
	ResponseResult saveArticle(ArticleDto articleDto);
	
	void sendIndexUpdate(ApArticle article, String content);
}